package com.zhouxiaoge.conf;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.config.server.EnableConfigServer;

/**
 * @author 周明阳
 * @date 2019/5/13 09:43
 * <p>
 * 通过@EnableConfigServer注解激活配置服务.
 * <p>
 * 获取git上的资源信息遵循如下规则：
 * <p>
 * /{application}/{profile}[/{label}]
 * <p>
 * /{application}-{profile}.yml
 * <p>
 * /{label}/{application}-{profile}.yml
 * <p>
 * /{application}-{profile}.properties
 * <p>
 * /{label}/{application}-{profile}.properties
 * <p>
 */

@SpringBootApplication
@EnableConfigServer
public class Config_Service_7666 {

    public static void main(String[] args) {
        SpringApplication.run(Config_Service_7666.class, args);
    }
}
